echo '拉取远程代码'
git pull origin master

echo '安装依赖'
npm i 

echo '编译'
npm run build

echo '将编译代码移动到网站目录'
cp -r ./dist/* ../dist/